// 基础事件类型
export enum BaseEventEnum {
  // 点击
  ON_CLICK = 'click',
  // 双击
  ON_DBL_CLICK = 'dblclick',
  // 右键
  ON_CONTEXTMENU = 'contextmenu',
  // 按下
  ON_MOUSE_DOWN = 'mousedown',
  // 移动
  ON_MOUSE_MOVE = 'mousemove',
  // 释放
  ON_MOUSE_UP = 'mouseup',
  // 滚轮
  ON_MOUSE_WHEEL = 'mousewheel',
  // 移入
  ON_MOUSE_ENTER = 'mouseenter',
  ON_MOUSE_OVER = 'mouseover',
  // 移出
  ON_MOUSE_LEAVE = 'mouseleave',
  ON_MOUSE_OUT = 'mouseout',
}

// 拖动事件
export enum DragEventEnum {
  // 源对象
  ON_DRAG_START = 'dragstart',
  ON_DRAG = 'drag',
  ON_DRAG_END = 'dragend',
  // 目标对象
  ON_DRAG_ENTER = 'dragenter',
  ON_DRAG_OVER = 'dragover',
  ON_DRAG_LEAVE = 'dragleave',
  ON_DROP = 'drop'
}

// 键盘事件
export enum KeyEventEnum {
  ON_KEY_DOWN = 'keydown',
  ON_KEY_PRESS = 'keypress',
  ON_KEY_UP = 'keyup'
}

// 浏览器事件
export enum BrowserEventEnum {
  ON_LOAD = 'load',
  ON_UNLOAD = 'unload',
  ON_BEFORE_UNLOAD = 'beforeunload',
  ON_HASH_CHANGE = 'hashchange',
  ON_POP_STATE = 'popstate',
  ON_ORIENTATION_CHANGE = 'orientationchange',
  ON_RESIZE = 'resize',
  ON_SCROLL = 'scroll'
}